AESetTheCurrentEvent
AppleEvent * theAppleEvent ; the Apple Event to be handled to be handled.
handled. There is generally no reason for your application to use this function.
Instead of calling this function, your application should let the
Apple event.
The parameter theAppleEvent is the Apple event that is to be handled.
the dispatch tables, and is used only in the following way:
1. An application suspends handling of an Apple event by calling the
was previously suspended. It thereby makes the identity of the Apple event
currently being handled available to routines that call the
3. The application handles the Apple event. When it is finished, it calls
and that the Apple event does not need to be dispatched.
Result codes
noErr (0) No error